﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WcsApi.Models
{
    // MES取消任务
    public class MesCancelTask
    {
        /// <summary>
        /// 任务编号
        /// </summary>
        public string TaskCode { get; set; }

        /// <summary>
        /// 托盘号
        /// </summary>
        public string TrayCode { get; set; }
    }

    // MES优先级更改
    public class MesUpdateOrder
    {
        /// <summary>
        /// 任务编号
        /// </summary>
        public string TaskCode { get; set; }

        /// <summary>
        /// 托盘号
        /// </summary>
        public string TrayCode { get; set; }

        /// <summary>
        /// 任务优先级
        /// </summary>
        public int Priority { get; set; }
    }

    // MES下发任务
    public class MesSendTask
    { 
        /// <summary>
        /// 物料号
        /// </summary>
        public string MaterialNo { get; set; }

        /// <summary>
        /// 结束站台
        /// </summary>
        public string Station { get; set; }
    }

    // MES下发任务
    public class SandCoreOffline
    { 
        /// <summary>
        /// 物料号
        /// </summary>
        public string materialNo { get; set; }

        /// <summary>
        /// 站台
        /// </summary>
        public string station { get; set; }

        /// <summary>
        /// 是否继续生产
        /// </summary>
        public int continueProduction { get; set; }

        /// <summary>
        /// 质检任务
        /// </summary>
        public string qualityTesting { get; set; }
    }

    // MES下发任务
    public class ChangeMaterial
    { 
        /// <summary>
        /// 物料号
        /// </summary>
        public string materialNo { get; set; }

        /// <summary>
        /// 站台
        /// </summary>
        public string station { get; set; }
    }
}